package com.work;

public class Dog {
    Integer dno;
    String name;
    Integer age;
    String species;

    @Override
    public String toString() {
        return "Dog{" +
                "dno=" + dno +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", species='" + species + '\'' +
                '}';
    }

    public Dog() {
    }

    public Dog(Integer dno, String name, Integer age, String species) {
        this.dno = dno;
        this.name = name;
        this.age = age;
        this.species = species;
    }



    public Integer getDno() {
        return dno;
    }

    public void setDno(Integer dno) {
        this.dno = dno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSpecies() {
        return species;
    }

    public void setSpecies(String species) {
        this.species = species;
    }
}
